/*
@author wsq
@date  2016-11-13 
@获取mock数据
@todo 有待改进 学习promise
*/
import mock from '../mock/index.js'
export default function (reqBody,options,success,error){
	console.log(reqBody)
	let data = mock[reqBody.operationType]
	if(data.resultStatus===1000){
		success(data);
	}else{
		error(data)
	}
}